const TsRules = require('./ts.rules');
const StyleRules = require('./style.rules');
const AssetsRules = require('./assets.rules');

module.exports = [
    {
        // oneOf是一种性能优化，文件只能匹配数组内的一个loader 
        //   避免多次去匹配没有必要的loader
        oneOf: [
            ...TsRules,
            ...StyleRules,
            ...AssetsRules,
        ]
    }
]